package com.zhima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhima.entity.OjResource;
import com.zhima.entity.OjRoleResource;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhima
 * @since 2023-08-23
 */
public interface OjRoleResourceService extends IService<OjRoleResource> {
    /**
     * 返回给定角色集合的资源集合
     *
     * @param roleIds
     * @return
     */
    List<OjResource> queryRolesResource(List<Integer> roleIds);
}
